[fix][client] Fix update response body text - #18794
Conversation
|
@tuteng Please add the following content to your PR description and select a checkbox: |
mattisonchao
left a comment
There was a problem hiding this comment.
LGTM, We need to see if we break unit test.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #18794 +/- ##
============================================
- Coverage 44.79% 37.78% -7.02%
+ Complexity 10026 8041 -1985
============================================
Files 703 703
Lines 68808 68851 +43
Branches 7375 7382 +7
============================================
- Hits 30822 26014 -4808
- Misses 34378 39428 +5050
+ Partials 3608 3409 -199
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Can you give an actual case this PR is solving? |
This needs an interceptor and then throws an exception with a custom message, using pulsar-admin to execute the corresponding command, which never gets the custom message @Jason918 |
|
Oops. Could you help to take a look? I am not sure if it is a sensitive breaking change for users. |
Fixes #xyz
Master Issue: #xyz
Motivation
When using pulsar-admin and encountering an exception, first check the body, then check the http text
Modifications
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: AmateurEvents#31